# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     day190_pyqt5_tetris
   Description :
   Author :       fuml
   date：          2019/10/13
-------------------------------------------------
   Change Activity:
                   2019/10/13:
-------------------------------------------------
"""
import  sys,random
from  PyQt5.QtWidgets import QWidget,QApplication,QMainWindow,QFrame,QDesktopWidget
from  PyQt5.QtCore import Qt,QBasicTimer,pyqtSignal
from  PyQt5.QtGui import QPainter,QColor

class Board(QFrame):
    msg2Statusbar = pyqtSignal(str)

    BoardWidth = 10
    BoardHeight = 22
    Speed = 300

    def __init__(self,parent):
        super().__init__(parent)
        self.initBoard()
    def initBoard(self):
        self.timer = QBasicTimer()

        self.curX = 0
        self.curY = 0
        self.numLinesRemoved = 0
        self.board = '□'
        


class Tetris(QMainWindow):
    def __init__(self):
        super().__init__()
        self.initUI()

